package com.server;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pojo.Admin;
import com.pojo.Menu;
import com.pojo.RespBean;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author lvjiazhen
 * @date 2021/7/22  16:00
 */
public interface IAdminService extends IService<Admin> {
    RespBean login(String username, String password,String code, HttpServletRequest request);

    Admin getAdminByUserName(String username);

    List<Menu> getMenusByAdminId();
}
